package xian.woniuxy.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import xian.woniuxy.dao.GoodsMapper;
import xian.woniuxy.entity.Goods;
import xian.woniuxy.service.IGoodsService;

import java.util.List;

/**
 * @author zhang
 * @time 2021/12/25 13:40:14
 */
@Transactional
@Service
public class GoodsServiceImpl implements IGoodsService {
    @Autowired
    private GoodsMapper goodsMapper;


    @Override
    public List<Goods> findAll() {
        return goodsMapper.findAll();
    }
}

